package com.baizhi.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

/**
 * @author yystart
 * @create 2019-10-04 22:44
 */
@FeignClient(serviceId = "taobao-order",fallback = OrderFeignHystrix.class)
public interface OrderFeign {

    @RequestMapping(path = "/taobao-order/order/insert",method = RequestMethod.POST)
    Map insert(Map map);

}
